﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CacheProxy
{
    interface ICacheProxyProvider
    {
        T GetItem<T>(string key, Func<string,T> fallback);
        bool SetItem<T>(string key,T value);
        bool SetItem<T>(string key, T value,int timeOut);
    }
}
